package com.cn.sys.entity;


import com.cn.base.BaseEntity;
import com.cn.utils.excel.ExcelVOAttribute;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.hibernate.validator.constraints.NotBlank;


/**
 * 角色
 * 
 */
public class SysRoleEntity extends BaseEntity<SysRoleEntity> implements Serializable {
	private static final long serialVersionUID = 1L;
	
	/**
	 * 角色ID
	 */
    @ExcelVOAttribute(name = "roleId", column = "A")  
	private String roleId;

	/**
	 * 角色名称
	 */
    @ExcelVOAttribute(name = "roleName", column = "B")  
    @NotBlank(message="角色名称不能为空")
	private String roleName;

	/**
	 * 备注
	 */
    @ExcelVOAttribute(name = "remark", column = "C")  
	private String remark;
	
	/**
	 * 创建者ID
	 */
	private String createUserId;
	
	private List<Long> menuIdList;
	
	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 设置：
	 * @param roleId 
	 */
	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	/**
	 * 获取：
	 * @return Long
	 */
	public String getRoleId() {
		return roleId;
	}
	
	/**
	 * 设置：角色名称
	 * @param roleName 角色名称
	 */
	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	/**
	 * 获取：角色名称
	 * @return String
	 */
	public String getRoleName() {
		return roleName;
	}
	
	/**
	 * 设置：备注
	 * @param remark 备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * 获取：备注
	 * @return String
	 */
	public String getRemark() {
		return remark;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public List<Long> getMenuIdList() {
		return menuIdList;
	}

	public void setMenuIdList(List<Long> menuIdList) {
		this.menuIdList = menuIdList;
	}

	public String getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(String createUserId) {
		this.createUserId = createUserId;
	}

	public SysRoleEntity() {
		super();
	}
	
	
	
}
